﻿using NaturalNote.Core.Database;

namespace NaturalNote.Web.DbStorage.Entity
{
    [Table("mypage_blocks")]
    public class PageBlocks
    {
        [Column(IsPrimary = true)]
        public long Id { get; set; }
        [Column]
        public long PageId { get; set; }
        [Column]
        public int Type { get; set; }
        [Column]
        public string Settings { get; set; }
        [Column]
        public string Body { get; set; }
        [Column]
        public DateTime UpdatedOn { get; set; }
        [Column]
        public int SortNo { get; set; }
    }
}
